//
//  HttpURLs.h
//  MoDuo
//
//  Created by Jiang on 2017/4/27.
//  Copyright © 2017年 Jiang. All rights reserved.
//

#ifndef HttpURLs_h
#define HttpURLs_h

#define isAppShop 1

#define environmentType 2
//------------------ 测试服公网环境 t.imoduo.com ---------------------
#if environmentType == 0
static NSString *ImageUpIP = @"http://t.imoduo.com:9000/moduo";
static NSString *IP = @"http://t.imoduo.com:9000/moduo";
//图片头 测试 images.imoduo.com
static NSString *ImageIP = @"http://120.77.150.227:8886/";
static NSString *mHttpTestIP = @"http://192.168.1.160:1320/";
//static NSString *ImageIP = @"http://192.168.1.8";
//------------------ 本地测试环境 192.168.1.8 ----------------------
#elif environmentType == 1
static NSString *ImageUpIP = @"http://192.168.1.128:9000/moduo";
static NSString *IP = @"http://192.168.1.128:9000/moduo";
// 图片头 测试 images.imoduo.com
static NSString *ImageIP = @"http://192.168.1.8";
// ----------------- 服务器IP 正式 api.imoduo.com ---------------
#elif environmentType == 2
static NSString *ImageUpIP = @"http://api.imoduo.com:9000/moduo";
static NSString *IP = @"http://api.imoduo.com:9000/moduo";
static NSString *mHttpTestIP = @"http://m.imoduo.com/#/";
// 图片头 正式 img.imoduo.com
static NSString *ImageIP = @"http://img.imoduo.com";
// ----------------- 分包地址 i1.imoduo.com ---------------
#elif environmentType == 3
static NSString *ImageUpIP = @"http://i1.imoduo.com:9000/moduo";
static NSString *IP = @"http://i1.imoduo.com:9000/moduo";
// 图片头 正式 img.imoduo.com
static NSString *ImageIP = @"http://img1.imoduo.com";
#else

#endif

// m站头
static NSString *mHttpIP = @"http://m.imoduo.com/#/";
//static NSString *mHttpIP = @"http://192.168.1.118:1320/";

// 加密密匙
static NSString *SECRET = @"moduo@2017&sfli%87wirioew3^534rj";

/// 检查更新
static NSString *http_check_version = @"/market/index/get";

/// 获取活动分享信息
static NSString *http_activity_get = @"/market/activity/get";

/// 分享成功
static NSString *http_share_back = @"/market/activity/task/complete";

/// 每日分享
static NSString *http_daily_share = @"/market/dailyTask/share";

/// 图片上传
static NSString *http_image_updata = @"/papers/upload/images1";

/// 查看用户状态
static NSString *http_url_user_status = @"/user/getMemberStatus";

// 登录
static NSString *http_url_login = @"/user/appLogin";
// 注册
static NSString *http_url_register = @"/user/appRegister";
// 修改手机接口
static NSString *http_url_bind_phone = @"/user/modifyPhone";
// 验证码
static NSString *http_url_checkcode = @"/user/captcha";

// 首页banner和分类
static NSString *http_url_home_banner_and_column = @"/news/main/getBannerAndColumn";

// 新闻列表
static NSString *http_url_home_news_list = @"/news/v1.0.2/getNews";
//星讯列表
static NSString *http_url_home_artist_news_list = @"/news/pageArtistNews";
//星踪迹列表
static NSString *http_url_home_artist_trail_list = @"/circle/trail/list";
//星踪迹新闻列表
static NSString *http_url_home_trail_news_list = @"/news/getTrailNews";
// 新闻详情
static NSString *http_url_new_detail = @"/news/getAppNewsDetails";
// 新闻收藏
static NSString *http_url_new_detail_collect = @"/news/collect";
// 新闻收藏列表
static NSString *http_url_new_detail_collect_list = @"/news/collections";

// 查询新闻评论
static NSString *http_url_new_comment_list = @"/news/reply";

// 发表新闻评论
static NSString *http_url_new_comment = @"/news/v1.0.1/comment";

// 获取新闻评论层中评论列表
static NSString *http_url_new_floor_comment_list = @"/news/replyById";

// 删除评论
static NSString *http_url_new_comment_delete = @"/news/deteleByReplyId";

#define mark - 圈子模块
/// 2.5新增
// 明星列表
static NSString *http_url_community_artist_list = @"/circle/artists";
// 关注列表
static NSString *http_url_community_attention_list = @"/circle/attentions";
// 明星主页
static NSString *http_url_community_artist_index = @"/circle/artist/home";
// 评论点赞
static NSString *http_url_community_comment_praise = @"/circle/post/comment/praise";//帖子评论点赞
static NSString *http_url_starfun_comment_praise = @"/circle/starShare/comment/praise";//星分享评论点赞
static NSString *http_url_new_comment_praise = @"/news/comment/praise";//资讯评论点赞
// 爱豆动态列表
static NSString *http_url_community_artist_move_list = @"/circle/post/idolList";
// 爱豆详情介绍
static NSString *http_url_community_artisr_detail = @"/circle/introduce";
// 搜索
static NSString *http_url_community_search = @"/circle/search";


// 圈子首页
static NSString *http_url_community_index = @"/circle/v1.0.1/index";
// 圈子活动
static NSString *http_url_community_activity_index = @"/circle/pageActivity";
// 子圈
static NSString *http_url_community_circle_child = @"/circle/detail/subcircle";

// 更多圈子
static NSString *http_url_community_narmal_more_circle = @"/circle/v1.0.1/normals";//普通
static NSString *http_url_community_artist_more_circle = @"/circle/v1.0.1/artists";//艺人

// 贴子列表接口
static NSString *http_url_community_post_list = @"/circle/v1.0.2/pagePost";

// 贴子列表接口
static NSString *http_url_community_post_detail_list = @"/circle/detail/v1.0.2/pagePost";

// 艺人相册
static NSString *http_url_community_artist_album_list = @"/circle/album/list";
// 艺人相片
static NSString *http_url_community_artist_picture_list = @"/circle/album/photo/list";

//星fun享列表
static NSString *http_url_community_artist_fun_share_list = @"/circle/starShare/list";
//星fun享详情
static NSString *http_url_community_artist_fun_share_detail = @"/circle/starShare/detail";
//星fun享点赞
static NSString *http_url_community_artist_fun_praise = @"/circle/starShare/parise";
//星分享评论列表
static NSString *http_url_community_artist_fun_comment_list = @"/circle/starShare/commentList";
//星分享查看评论回复
static NSString *http_url_community_artist_fun_comment_detail = @"/circle/starShare/replyDetail";
//星分享回复列表,上拉加载
static NSString *http_url_community_artist_fun_comment_reply_list = @"/circle/starShare/replyList";
//星分享评论
static NSString *http_url_community_artist_fun_reply = @"/circle/starShare/comment";
//星分享删除
static NSString *http_url_community_artist_fun_comment_delete = @"/circle/starShare/commentDel";
// 贴子详情
static NSString *http_url_community_post_detail = @"/circle/post/lookPosts";

// 更多贴子评论
static NSString *http_url_community_post_comment_more = @"/circle/post/lookMoreReplys";

// 贴子评论详情
static NSString *http_url_community_post_comment_detail = @"/circle/post/lookMoreInReplys";

// 贴子评论
static NSString *http_url_community_post_comment = @"/circle/post/postReply";

// 贴子点赞
static NSString *http_url_community_post_praise = @"/circle/post/toPraise";

// 贴子评论删除
static NSString *http_url_community_post_comment_delete = @"/circle/post/deteleByReplyId";

// 发帖
static NSString *http_url_community_post = @"/circle/post/savePost";

// 删除贴子
static NSString *http_url_community_post_delete = @"/circle/post/deteleByPostId";

// 贴子收藏
static NSString *http_url_community_post_collect = @"/circle/post/toCollect";

// 圈子信息接口 （圈子详情）
static NSString *http_url_community_circle_detail = @"/circle/detail/index";

// 圈子关注和取消 
static NSString *http_url_community_circle_follow = @"/circle/detail/doAttention";

// 举报
static NSString *http_url_report = @"/user/inform";

#pragma mark - 抽抽抽
// 扭蛋机中奖轮播列表
static NSString *http_url_reward_lucky_list = @"/market/gashapon/luckList";
// 扭蛋机列表
static NSString *http_url_reward_list = @"/market/gashapon/index";
// 扭蛋机详情
static NSString *http_url_reward_detail = @"/market/gashapon/detail";
// 抽奖
static NSString *http_url_reward_draw = @"/market/gashapon/draw";
// 所有圈子
static NSString *http_url_reward_allCircle = @"/circle/all";
// 晒一晒接口
static NSString *http_url_reward_share = @"/market/gashapon/share";
// 获奖列表
static NSString *http_url_reward_awardList = @"/market/gashapon/awardList";
// 修改收货地址接口
static NSString *http_url_addressEdit = @"/market/gashapon/addressEdit";

#pragma mark - 购票
// 演出列表
static NSString *http_url_ticket_list = @"/booking/show/list";

// 演唱会详情
static NSString *http_url_ticket_detail = @"/booking/show/detail";

// 演出详细
static NSString *http_url_show_item_detail = @"/booking/show/introduce";
// 演出摘要
static NSString *http_url_notice_detail = @"/booking/show/notice";

// 获取演唱会票价
static NSString *http_url_ticket_price = @"/booking/order/price";

// 确认订单
static NSString *http_url_ticket_sure_order = @"/booking/order/confirm";

// 提交订单
static NSString *http_url_ticket_order_submit = @"/booking/order/submit";

// 继续提交订单
static NSString *http_url_ticket_order_continue_submit = @"/booking/order/continueSubmit";

// 订单支付
static NSString *http_url_ticket_order_pay = @"/booking/pay/getSign";

// 取消订单
static NSString *http_url_order_cancle = @"/booking/order/cancel";

// 支付确认
static NSString *http_url_order_syn_pay_notify = @"/booking/pay/synPayNotify";

// 选择区域
static NSString *http_url_book_seat_selection_buy = @"/booking/order/area";

// 选择座位
static NSString *http_url_choose_seat = @"/booking/order/seat";

// 有座购票确认订单
static NSString *http_url_show_sure_order = @"/booking/order/seatConfirm";

// 提交订单
static NSString *http_url_show_submit_orlder = @"/booking/order/seatSubmit";

// 继续提交订单
static NSString *http_url_show_continue_submitOrder = @"/booking/order/seatSubmit";

#pragma mark - 地址管理
// 获取地址数据库
static NSString *http_url_address_all = @"/user/location/get";

// 获取收货地址列表
static NSString *http_url_address_list = @"/user/address/get";

// 添加收货地址
static NSString *http_url_address_add = @"/user/address/addOrEdit";

// 删除收货地址
static NSString *http_url_address_delete = @"/user/address/delete";

#pragma mark - 个人中心
// 签到信息
static NSString *http_url_user_sign_info = @"/user/sign/info";
// 签到
static NSString *http_url_user_sign_in = @"/user/sign/in";
// 签到提醒
static NSString *http_url_user_sign_remind = @"/user/sign/remind";
// 我的圈子列表
static NSString *http_url_user_circle_list = @"/circle/user/circle/list";

// 我的贴子列表
static NSString *http_url_user_post_list = @"/circle/user/post/list";

// 我的收藏
static NSString *http_url_user_post_collect = @"/circle/user/collect/list";

// 新优惠券
static NSString *http_url_user_coupon_list = @"/booking/user/coupon/list";
// 优惠券
static NSString *http_url_ticket_coupon = @"/booking/show/userCoupon";

// 我的订单列表
static NSString *http_url_user_order_list = @"/booking/user/order/list";

// 订单详情
static NSString *http_url_user_order_detail = @"/booking/user/order/detail";

// 修改收货地址
static NSString *http_url_user_order_edit_address = @"/booking/user/order/editAddress";

//未知消息
static NSString *http_url_redDot = @"/user/redHot";

// 主态
static NSString *http_url_user_info = @"/user/memberPersonage";

// 客态
static NSString *http_url_guest_info = @"/user/memberGuset";

// 客态贴子列表
static NSString *http_url_guest_post_list = @"/circle/user/post/list";

// 修改用户头像/昵称
static NSString *http_url_user_info_edit = @"/user/updateMember";

// 关注/取消关注接口
static NSString *http_url_attention_guest = @"/user/toAttention";

// 消息中心--关注
static NSString *http_url_notification_attention = @"/user/v1.0.2/getAttentionMsg";

// 消息中心--系统消息
static NSString *http_url_notification_system = @"/user/v1.0.2/getSysMsg";

// 消息中心--赞
static NSString *http_url_notification_thumb = @"/user/v1.0.2/getPraiseMsg";

// 消息中心--评论
static NSString *http_url_notification_comment = @"/user/v1.0.2/getReplyMsg";

// 粉丝列表, 关注列表
static NSString *http_url_attaction_fans_list = @"/user/getMemberAbout";

// 意见反馈
static NSString *http_url_feeback = @"/user/getAdvise";

#endif /* HttpURLs_h */
